[LaTeX] Math symbols in listings
Posted
by Michal
on Stack Overflow
See other posts from Stack Overflow
or by Michal
Published on 2010-05-11T10:27:18Z
Indexed on
2010/05/11
10:44 UTC
Read the original article
Hit count: 351
Hi,
I have a problem with Latex -- I don't know how to put mathematical equations and symbols in listings. I use --listings-- package and it's offers great looking listings, but it doesn't allow math symbols in $ .. $. Another package --algorithms-- allows math, but listings doesn't look as good as in --listings-- (the problem is that --algorithms-- demands to get new line after every --if--, --then--, etc.)
Thanks for reply
Michal
© Stack Overflow or respective owner